package com.examine.bean;

public class Message {
    private String id;

    private String senderId;

    private String senderName;

    private String senderContent;

    private String receivedId;

    private String receivedName;

    private String receivedContent;

    private String identifying;

    private String previewState;

    private String createTime;

    private String updateTime;

    private PageResult pageResult;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getSenderId() {
        return senderId;
    }

    public void setSenderId(String senderId) {
        this.senderId = senderId == null ? null : senderId.trim();
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName == null ? null : senderName.trim();
    }

    public String getSenderContent() {
        return senderContent;
    }

    public void setSenderContent(String senderContent) {
        this.senderContent = senderContent == null ? null : senderContent.trim();
    }

    public String getReceivedId() {
        return receivedId;
    }

    public void setReceivedId(String receivedId) {
        this.receivedId = receivedId == null ? null : receivedId.trim();
    }

    public String getReceivedName() {
        return receivedName;
    }

    public void setReceivedName(String receivedName) {
        this.receivedName = receivedName == null ? null : receivedName.trim();
    }

    public String getReceivedContent() {
        return receivedContent;
    }

    public void setReceivedContent(String receivedContent) {
        this.receivedContent = receivedContent == null ? null : receivedContent.trim();
    }

    public String getIdentifying() {
        return identifying;
    }

    public void setIdentifying(String identifying) {
        this.identifying = identifying == null ? null : identifying.trim();
    }

    public String getPreviewState() {
        return previewState;
    }

    public void setPreviewState(String previewState) {
        this.previewState = previewState == null ? null : previewState.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public PageResult getPageResult() {
        return this.pageResult;
    }

    public void setPageResult(final PageResult pageResult) {
        this.pageResult = pageResult;
    }


    @Override
    public String toString() {
        return "Message{" +
                "id='" + id + '\'' +
                ", senderId='" + senderId + '\'' +
                ", senderName='" + senderName + '\'' +
                ", senderContent='" + senderContent + '\'' +
                ", receivedId='" + receivedId + '\'' +
                ", receivedName='" + receivedName + '\'' +
                ", receivedContent='" + receivedContent + '\'' +
                ", identifying='" + identifying + '\'' +
                ", previewState='" + previewState + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", pageResult=" + pageResult +
                '}';
    }
}